﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StudentSystem
{
    public class Student
    {
        private string firstName;
        private string lastName;
        private int age;
        private Student[] studentList;

        public string FirstName
        {
            get { return this.firstName; }
        }

        public string LastName
        {
            get { return this.lastName; }
        }

        public int Age
        {
            get { return this.age; }
        }

        public Student[] StudentList
        {
            get { return this.studentList; }
            set { this.studentList = value; }
        }

        public Student(string firstname, string secondname, int age)
        {
            this.firstName = firstname;
            this.lastName = secondname;
            this.age = age;
        }

    }
}
